﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="TestingIoCInWeb._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <link href="/Demo.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Welcome to ASP.NET!
    </h2>
    <p>
        To learn more about ASP.NET visit <a href="http://www.asp.net" title="ASP.NET Website">
            www.asp.net</a>.
    </p>
    <p>
        You can also find <a href="http://go.microsoft.com/fwlink/?LinkID=152368&amp;clcid=0x409"
            title="MSDN ASP.NET Docs">documentation on ASP.NET at MSDN</a>.
    </p>
    
    <asp:ListView ID="CapturaClientes" runat="server" ItemPlaceholderID="detalle">
        <LayoutTemplate>
            <table cellspacing="2">
                <tr class="Encabezado">
                    <td>
                        Nombre
                    </td>
                    <td>
                        Direccion
                    </td>
                    <td>
                        Telefonos
                    </td>
                </tr>
                <tr id="detalle" runat="server">
                </tr>
            </table>
        </LayoutTemplate>
        <ItemTemplate>
            <tr>
                <td>
                    <%#Eval("Nombre") %>
                </td>
                <td>
                    <%#Eval("Direccion") %>
                </td>
                <td>
                    <%#Eval("Telefonos") %>
                </td>
            </tr>
        </ItemTemplate>
    </asp:ListView>
</asp:Content>
